#pragma once
#ifndef LHG_CRYPT_H_INCLUDE
#define LHG_CRYPT_H_INCLUDE

#include <openssl/rsa.h>
#include <openssl/aes.h>
#include <openssl/pem.h>
#include <openssl/rand.h>
#include <string.h>

void lhg_genkeyRSA(const char *PubPath, const char *PrivPath, unsigned int bits);

void lhg_encrypt(const char *RSAPubPath, const char *In, const char *Out);

void lhg_decrypt(const char *RSAPrivPath, const char *In, const char *Out);

#endif // LHG_CRYPT_H_INCLUDE